package com.csh.auth.application.convert;

import com.csh.auth.application.dto.AuthPermissionDto;
import com.csh.auth.application.dto.AuthRolePermissionDto;
import com.csh.auth.domain.entity.AuthPermissionBo;
import com.csh.auth.domain.entity.AuthRolePermissionBo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 权限 Dto转换器
 *
 * @Author: Maverick_Csh
 * @Date: 2024/3/20
 */
@Mapper
public interface AuthRolePermissionDtoConverter {

    AuthRolePermissionDtoConverter INSTANCE = Mappers.getMapper(AuthRolePermissionDtoConverter.class);

    AuthRolePermissionBo convertDtoToBo(AuthRolePermissionDto authRolePermissionDto);

}
